<template>
  <card-wrapper :data-item="dataItem" class="w-288">
    <area-top :text-left="dataItem['来源单'] || '无'" :text-center="$i18n.t('mind.sourceOrder')" />
    <label-normal
      :value="`${dataItem['数量'] || '无'} ${dataItem['物料单位'] || '无'}`"
      class="mt-8"
    />
    <p class="mt-8 font-12 text-5A6F82">{{ $i18n.t("mind.warehouse") }}</p>
    <span class="mt-4 text-14">{{ dataItem["入库仓库"] || "无" }}</span>
    <label-normal
      :label="$i18n.t('mind.entranceist')"
      :value="`${dataItem['入库员'] || '无'} ${dataItem['入库时间'] || '无'}`"
      class="mt-8"
    />
  </card-wrapper>
</template>

<script>
import CardWrapper from "@/views/mind/components/common/card-wrapper.vue";
import AreaTop from "@/views/mind/components/common/area-top.vue";
import LabelNormal from "@/views/mind/components/common/label-normal.vue";
export default {
  name: "card-enter-stock", // 入库
  props: {
    dataItem: {
      type: Object,
      default: () => {},
    },
  },
  components: { CardWrapper, AreaTop, LabelNormal },
};
</script>
